﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PRET.ReportDataDefine.UIData;

using ShowMessage.ServiceReference;

namespace ShowMessage
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            string year = "2015";
            PRETWebServiceClient adapter = new PRETWebServiceClient();
            //adapter.testProLineStatus();

            //DateTime startYear;
            //ProductionLineEfficiencyReport[] reports = null;
            //TeamEfficiencyReport[] retList = null;
            //year = string.Format("{0}-01-01 00:00:00", year);
            //if (DateTime.TryParse(year, out startYear))
            //     reports = adapter.GetProductionLineEfficiencyReport(startYear);

            //if (DateTime.TryParse(year, out startYear))
            //   retList = adapter.GetTeamEfficiencyReport(startYear);
        }
    }
}
